<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span {
            display: inline-block;
            background: url(img.jpg) no-repeat;
        }
        
        .Y {
            width: 100px;
            height: 114px;
            background-position: -276px -433px;
        }
        
        .X {
            width: 100px;
            height: 114px;
            background-position: -196px -438px;
        }
        
        .Y2 {
            width: 100px;
            height: 114px;
            background-position: -276px -433px;
        }
        
        .M {
            width: 100px;
            height: 114px;
            background-position: -83px -210px;
        }
    </style>
</head>

<body>
    <span class="Y"></span>
    <span class="X"></span>
    <span class="Y2"></span>
    <span class="M"></span>
</body>

</html>